public class User {
    
    private String userID;
    private String userPassword;
    private String userName;
    
    private boolean doubleScoreButtonUsed;
    private boolean halveChoiceButtonUsed;
    private boolean skipButtonUsed;
    
    private boolean isUserValid;
    
    private int gameScore;
    
    public User(String userID, String userPassword) {
        this.userID = userID;
        this.userPassword = userPassword;
    }

    public int getGameScore() {
        return gameScore;
    }

    public void setGameScore(int gameScore) {
        this.gameScore = gameScore;
    }

    public String getUserID() {
        return userID;
    }

    public void setUserID(String userID) {
        this.userID = userID;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public boolean isIsUserValid() {
        return isUserValid;
    }

    public void setIsUserValid(boolean isUserValid) {
        this.isUserValid = isUserValid;
    }

    public String getUserPassword() {
        return userPassword;
    }

    public void setUserPassword(String userPassword) {
        this.userPassword = userPassword;
    }

    public boolean isDoubleScoreButtonUsed() {
        return doubleScoreButtonUsed;
    }

    public void setDoubleScoreButtonUsed(boolean doubleScoreButtonUsed) {
        this.doubleScoreButtonUsed = doubleScoreButtonUsed;
    }

    public boolean isHalveChoiceButtonUsed() {
        return halveChoiceButtonUsed;
    }

    public void setHalveChoiceButtonUsed(boolean halveChoiceButtonUsed) {
        this.halveChoiceButtonUsed = halveChoiceButtonUsed;
    }

    public boolean isSkipButtonUsed() {
        return skipButtonUsed;
    }

    public void setSkipButtonUsed(boolean skipButtonUsed) {
        this.skipButtonUsed = skipButtonUsed;
    }

    
    
    /*
     * Function takes no prarmeter.
     * Function check does the userID exist in the studentRecord database.
     */
    public boolean isUserIDExist(){
        return false;
    }
        
    
    /*
     * Function takes no prarmeter.
     * Function check does the userPassword match the userID.
     * isUserValid will be set to be true if the userPassword match the userID
     */
    public void validate(){

    }
    
    /*
     * Function takes a single prarmeter :
     * score - an integer contains score going to be added to gameScore.
     * Function add the score to the gameScore.
     * isUserValid will be set to be true if the userPassword match the userID
     */
    public void addGameScore(int score){
	    
    }  
    
    
}
